﻿@{
    ViewBag.Title = "Users";
}
@model UI.ViewModel.UsersViewModel
<div id="container">
    <div class="container">
        <!-- Breadcrumbs line -->
        <div class="crumbs">
            <ul id="breadcrumbs" class="breadcrumb">
                <li>
                    <i class="icon-home"></i>
                    <a href="index.html">Admin Setup</a>
                </li>
                <li class="current">
                    <a href="pages_calendar.html" title="">@ViewBag.Title</a>
                </li>
            </ul>
            <ul class="crumb-buttons">
                <li><a href="charts.html" title=""><i class="icon-signal"></i><span>Statistics</span></a></li>
                <li class="dropdown">
                    <a href="#" title="" data-toggle="dropdown"><i class="icon-tasks"></i><span>Users <strong>(+3)</strong></span><i class="icon-angle-down left-padding"></i></a>
                    <ul class="dropdown-menu pull-right">
                        <li><a href="form_components.html" title=""><i class="icon-plus"></i>Add new User</a></li>
                        <li><a href="tables_dynamic.html" title=""><i class="icon-reorder"></i>Overview</a></li>
                    </ul>
                </li>
            </ul>
        </div>

        <div class="row">
            <div class="col-md-6">
                <div class="widget">
                <br />
                    <div class="widget-content">
                        <table class="table table-hover table-striped table-bordered table-highlight-head">
                            <thead>
                                <tr>
                                    <th>#</th>
                                    <th>First Name</th>
                                    <th>Last Name</th>
                                    <th class="hidden-xs">Mobile</th>
                                    <th>Email</th>
                                </tr>
                            </thead>
                            <tbody>
                                @foreach (var item in Model.UsersList)
                                {
                                    <tr>
                                        <td>@item.UID</td>
                                        <td>@item.FirstName</td>
                                        <td>@item.LastName</td>
                                        <td>@item.MobileNo</td>
                                        <td>@item.EmailID</td>
                                    </tr>
                                }
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>